/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 校企合作情况
 * @author lihd
 *
 */

@Entity
@Table(name = "t_school_enterprise_cooperation")
public class SchoolEnterpriseCooperation implements Serializable {
	
	private static final long serialVersionUID = 2820006827231563595L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	@Column(name = "total", length = 8)
	private Integer total; //签订协议的合作企业数
	
	@Column(name = "core_num", length = 8)
	private Integer coreNum; //牵头职教集团数
	
	@Column(name = "paticipation_num", length = 8)
	private Integer paticipationNum; //参与职教集团数

	@Column(name = "cooperation_percent", length = 8)
	private String coopertaionPercent;//校企合作专业占专业总数的比例
	
	@Column(name = "course_num", length = 8)
	private Integer courseNum; //校企共同开发课程数

	@Column(name = "textbook_num", length = 8)
	private Integer textbookNum; //校企共同开发教材数
	
	@Column(name = "parttime_teacher_num", length = 8)
	private Integer parttimeTeacherNum;//合作企业到学校兼职任教人数
	
	@Column(name = "teacher_practice_num", length = 8)
	private Integer teacherPraciceNum; //合作企业接受教师实践人数
	
	@Column(name = "internship_num", length = 8)
	private Integer internshipNum; //合作企业接受顶岗实习学生人数
	
	@Column(name = "employment_num", length = 8)
	private Integer employmentNum;//合作企业接受毕业生就业人数
	
	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime = new Date();//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;
	
	public SchoolEnterpriseCooperation() {
		
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getCoreNum() {
		return coreNum;
	}

	public void setCoreNum(Integer coreNum) {
		this.coreNum = coreNum;
	}

	public Integer getPaticipationNum() {
		return paticipationNum;
	}

	public void setPaticipationNum(Integer paticipationNum) {
		this.paticipationNum = paticipationNum;
	}

	public String getCoopertaionPercent() {
		return coopertaionPercent;
	}

	public void setCoopertaionPercent(String coopertaionPercent) {
		this.coopertaionPercent = coopertaionPercent;
	}

	public Integer getCourseNum() {
		return courseNum;
	}

	public void setCourseNum(Integer courseNum) {
		this.courseNum = courseNum;
	}

	public Integer getTextbookNum() {
		return textbookNum;
	}

	public void setTextbookNum(Integer textbookNum) {
		this.textbookNum = textbookNum;
	}

	public Integer getParttimeTeacherNum() {
		return parttimeTeacherNum;
	}

	public void setParttimeTeacherNum(Integer parttimeTeacherNum) {
		this.parttimeTeacherNum = parttimeTeacherNum;
	}

	public Integer getTeacherPraciceNum() {
		return teacherPraciceNum;
	}

	public void setTeacherPraciceNum(Integer teacherPraciceNum) {
		this.teacherPraciceNum = teacherPraciceNum;
	}

	public Integer getInternshipNum() {
		return internshipNum;
	}

	public void setInternshipNum(Integer internshipNum) {
		this.internshipNum = internshipNum;
	}

	public Integer getEmploymentNum() {
		return employmentNum;
	}

	public void setEmploymentNum(Integer employmentNum) {
		this.employmentNum = employmentNum;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
}
